import request from '@/utils/request'
import { downloadAction } from '@/api/requestEvents'

//获得过程管理-项目列表分页
export function projectProcessPage(params: any) {
  return request({
    url: '/project/process/page',
    method: 'get',
    params,
  })
}

//获得过程管理-项目详情
export function projectProcessDetail(params: any) {
  return request({
    url: '/project/process/detail',
    method: 'get',
    params,
  })
}

//导出项目信息信息 Excel
export function projectProcessExport(params: any) {
  downloadAction(
    '/project/info/export-excel',
    'get',
    params,
    '项目列表.xls'
  )
}
